package zhanglu.family.socket.demo.busdemo.client1.handler;

import zhanglu.family.socket.bean.busbean.BusMsgBean;
import zhanglu.family.socket.bean.busbean.BusPostAnnotation;
import zhanglu.family.socket.textline.busclient.IBusMessageReceive;

@BusPostAnnotation(headId = 2L)
public class ClientHandlerDemo2 implements IBusMessageReceive {

    public void messageReceived(BusMsgBean msg) {
        System.out.println("异步消息,222" + msg.getJsonMsg());

        // MessageBean1 bean1 = new MessageBean1();// 消息文本
        // bean1.setTest("我再次发送异步消息");
        // ClientManager.getInstance().post(1L, 1L, 1250978781L, bean1);
    }

}
